package com.gedi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;


/**
 * @Author RenPu
 * @Date 2021/7/30 15:52
 * @Version 1.0
 * @Description:
 **/

@Controller
public class MyController<T> {


    @GetMapping("/login")
    public String login(HttpServletRequest request,HttpSession httpSession) {
//        httpSession.setAttribute("username","admin");
        String langue = request.getParameter("language");

        return "login";
    }



}
